@echo off
set JAVAPATH="C:\Program Files\Java\jdk1.6.0_13\bin"
set FLEXLIB=c:\development\flexsdk\lib
set TAMARIN=c:\development\tamarin\tamarin-central-6582fd7afc59\tamarin-central-6582fd7afc59
set FSHARP="C:\Program Files\FSharp-1.9.7.8\bin"

rem NUM LITERALS

%JAVAPATH%\java -jar %FLEXLIB%\asc.jar -import %TAMARIN%\core\builtin.abc numliterals.as 
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe numliterals.abc 
copy ..\..\AbcExplorationLib\bin\Debug\abcexplorationlib.dll  
%FSHARP%\fsc --debug+ -r abcexplorationlib.dll  modify.fs
modify numliterals.abc
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe numliterals_t.abc 

rem Point class

%JAVAPATH%\java -jar %FLEXLIB%\asc.jar -import %TAMARIN%\core\builtin.abc pointclasstest.as 
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe pointclasstest.abc 
copy ..\..\AbcExplorationLib\bin\Debug\abcexplorationlib.dll  
%FSHARP%\fsc --debug+ -r abcexplorationlib.dll  modify.fs
modify pointclasstest.abc
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe pointclasstest_t.abc 
 
rem shapes

%JAVAPATH%\java -jar %FLEXLIB%\asc.jar -import %TAMARIN%\core\builtin.abc Shapes.as 
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe Shapes.abc 
copy ..\..\AbcExplorationLib\bin\Debug\abcexplorationlib.dll  
%FSHARP%\fsc --debug+ -r abcexplorationlib.dll  modify.fs
modify Shapes.abc
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe Shapes_t.abc 

rem slotinitial

%JAVAPATH%\java -jar %FLEXLIB%\asc.jar -import %TAMARIN%\core\builtin.abc slotinitialvalues.as 
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe slotinitialvalues.abc 
copy ..\..\AbcExplorationLib\bin\Debug\abcexplorationlib.dll  
%FSHARP%\fsc --debug+ -r abcexplorationlib.dll  modify.fs
modify slotinitialvalues.abc
%TAMARIN%\platform\win32\obj_8\shell\Debug_Debugger\avmplus_sd.exe slotinitialvalues_t.abc 

